<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>客户编号</th>
            <th>客户姓名</th>
            <th>电话号码</th>
            <th>联系地址</th>
            <th>购买次数</th>
            <th>累计消费</th>
            <th>上次购买时间</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.serial_no}</td>
            <td>{$vo.name}</td>
            <td>{$vo.telphone}</td>
            <td>{$vo.address}</td>
            <td>{$vo.buy_count}</td>
            <td>{$vo.total_amount}</td>
            <td>{$vo.buy_time}</td>
            <td>{$vo.create_time}</td>
            <td>
                <a href="{:AddonU('Customer/restore_customer','id='.$vo['id'])}" class="xsui-btn ui-state-default lnk-remove" data-id="{$vo.id}" title="还原 {$vo.name}"><i class="fa fa-reply fa-fw"></i>还原</a>
                <a href="{:AddonU('Customer/delete_customer','id='.$vo['id'])}" class="xsui-btn ui-state-default lnk-remove" data-options="confirm_message:'您确定要彻底删除记录吗,此操作不可还原!'" data-id="{$vo.id}" title="彻底删除 {$vo.name}"><i class="fa fa-remove fa-fw"></i>彻底删除</a>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>